Category: Geeks r Us
How exactly do I write a same page link so that when people click on it; it will bring them to the section of the same page that the link deals with. Like on a home page sometimes you see same page link... and you click on it and it brings you farther down the page to that specific section so you don't have to navigate the entire page.
How do I write the same page link and how do I tell the site where to go and when to stop at the part that page link is meant for?
If anyone knows how to do this; can you please spell it out instead of using the code cause then when you save your reply, the example will be in code. Like:
lessa href=quotesamepagelinkquote...
I need to see what I need to do to write it in the code.
Thanks for any help.
Chastity
I tried looking on the w3 schools website, but their explanation isn't very clear.
I'll see if I can write out the HTML for this, but basicly you have to create a bookmark in the place you want to link to and then create the link to that bookmark.
A bookmark is done something like:
Then to link to it you write:
link text
Hope that makes sense.
Okay it worked when I previewed it but not now. Well I hope it still made sense. Probably not. lol
I'll try it in words like in post one... didn't think of that, maybe I'm just a bit slow.
A bookmark looks like this:
less a name="bm" greater less /a greater
Then the link would look like:
less a href="#bm" greater link text less /a greater
Thanks, that helps when it's spelled as doing the code on here and when the reply is posted, it actualy turns into the code. Thanks to all.
it's now better to have it is id="name" instead of name="name" good habbit to get into as is closing all tags.
So, it'll look like this.
and the link will look like this.
Skip to contents
Which will look like this.
Skip to contents